import Vue from 'vue'
import Router from 'vue-router'

import Login from '@/components/Login'
import Container from '@/components/Container'
import Tab1 from '@/components/tab/TabContentTest1'
import Tab2 from '@/components/tab/TabContentTest2'
import HtmlEditTab from '@/components/tab/sample/HtmlEditTab'
Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            name: 'login',
            component:Login
        },
        {
            path: '/container',
            component:Container,
            children:[
                {
                    path: '/',
                    component: Tab1
                },
                {
                    path: '/tab2',
                    component: Tab2
                },
                {
                    path: '/htmlTab',
                    component: HtmlEditTab
                },

            ]
        },
     
]
})